// jsoncpp_test.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>
#include <map>


enum def_conf_type { UNKNOWN_CONF = -1, IPU_CONF, EPU_CONF };
struct time_filter_t {
	std::string time = "00:00-23:59";
};
struct address_info {
	std::string name = "";
	std::string address = "";
	unsigned int port = 0;
	std::string dns = "";
	std::string gateway = "";
};
typedef struct tag_sql_config_info
{
	std::string sql_ip = "192.168.0.92";
	unsigned short sql_port = 3306;
	std::string db_name = "svis";
	std::string user = "root";
	std::string password = "123456";
	std::string character = "utf8";
}sql_config_info;
typedef struct tag_config_info
{
	int command_type{ 0 };
	int step1{ 0 };
	int step2{ 0 };
	int control_flag = 0;
	int connect_flag = 0;
	std::string remote_ip = "";
	int remote_port = 0;
	std::string otherside_ip = "";
	int otherside_port = 0;
	std::string outbound_ip = "";
	std::string outbound_name = "";
	std::string inbound_ip = "";
	std::string inbound_name = "";
	int listen_port = 0;
	std::string rx_ip = "";
	int rx_port = 0;
	std::string tx_ip = "";
	int tx_port = 0;
	int port_low = 0;
	int port_high = 0;
	def_conf_type conf_type = UNKNOWN_CONF;
	int connect_type = 0;
	std::string db_id = "";
	time_filter_t time_filter;
	std::string platform_id = "";
	std::string platform_ip = "";
	std::string db_username = "";
	std::string db_password = "";
	int platform_port = 0;
	address_info addr_info;
	std::string playload = "";
	std::string error_msg = "";
	std::string sys_time = "";
	sql_config_info sql_info;
	std::map<int, std::string> values;
}config_info;

int main()
{
    std::cout << "Hello World!\n";
}


